package com.dhc.service.entity.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @Author kazu
 * @Date 2023/10/07 22:40
 * @Version 1.0
 */
@SuppressWarnings({"all"})
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AdminRegisterDto implements Serializable {
	
	private static final long serialVersionUID = 1L;
	
	/**
	 * 用户名
	 */
	@NotNull(message = "用户名不能为空")
	private String username;
	
	/**
	 * 密码
	 */
	@NotNull(message = "密码不能为空")
	private String password;
	
	/**
	 * 邮箱
	 */
	@NotNull(message = "邮箱不能为空")
	private String email;
	
	/**
	 * 验证码
	 */
	@NotNull(message = "验证码不能为空")
	private String code;
	
}
